$OpenBSD: patch-plugins_Makefile_in,v 1.3 2012/11/22 16:01:38 ajacoutot Exp $
--- plugins/Makefile.in.orig	Tue Nov 20 08:27:40 2012
+++ plugins/Makefile.in	Tue Nov 20 08:27:51 2012
@@ -364,7 +364,7 @@ top_srcdir = @top_srcdir@
 # CURRENT:REVISION:AGE
 plugin_version = 3:0:0
 INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/lib -I$(top_srcdir)/sasldb -I$(top_builddir)/include
-AM_LDFLAGS = -module -export-dynamic -rpath $(plugindir) -version-info $(plugin_version)
+AM_LDFLAGS = -module -avoid-version -export-dynamic -rpath $(plugindir) -version-info $(plugin_version)
 COMPAT_OBJS = @LTGETADDRINFOOBJS@ @LTGETNAMEINFOOBJS@ @LTSNPRINTFOBJS@
 EXTRA_DIST = makeinit.sh NTMakefile
 noinst_SCRIPTS = makeinit.sh
